package cn.edu.sgu.www.pms.dto;

import cn.edu.sgu.www.pms.entity.Permission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class PermissionInitDTO {

    /**
     * 应用名
     */
    @ApiModelProperty(value = "应用名", required = true)
    private String service;

    /**
     * 权限列表
     */
    @ApiModelProperty(value = "权限列表", required = true)
    private List<Permission> permissions;
}